/*
 * Copyright 2003-2005 (c) Live Media Pty Ltd. <argot@einet.com.au> 
 *
 * This software is licensed under the Argot Public License 
 * which may be found in the file LICENSE distributed 
 * with this software.
 *
 * More information about this license can be found at
 * http://www.einet.com.au/License
 * 
 * The Developer of this software is Live Media Pty Ltd,
 * PO Box 4591, Melbourne 3001, Australia.  The license is subject 
 * to the law of Victoria, Australia, and subject to exclusive 
 * jurisdiction of the Victorian courts.
 */
 
#ifndef BUFFER_H_
#define BUFFER_H_

#ifdef __cplusplus
extern "C" {
#endif

typedef struct buffer_data
{
	char * data;
	int size;
	int pos;
}
buffer_data;

void buffer_data_init( buffer_data * brd, char * data, int size );

int bufferReader( type_input_stream * in, void * data, char * buffer, int size );

int bufferWriter( type_output_stream * out, void * data, char * buffer, int size );

#ifdef __cplusplus
} /* end extern "C" */
#endif

#endif /*INTMAP_H_*/
